﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="BJXXSendProduct.aspx.cs" Inherits="WXYW.BJXXSendProduct" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    备件申请已审批-待发货
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div align="right">
        <%-- <img src="image/operateicon/mail_icon.gif" />
        <asp:LinkButton ID="emailLinkButton" runat="server" OnClick="emailLinkButton_Click">通知</asp:LinkButton>--%>
        <img src="image/operateicon/select.gif" />
        <asp:LinkButton ID="sendLinkButton" runat="server" OnClick="sendLinkButton_Click">发货</asp:LinkButton>
        <img src="image/operateicon/back_back.gif" />
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="BJXXListNeedSend.aspx">返回</asp:HyperLink>
    </div>
    <table width="100%" style="border-collapse: collapse; line-height: 25px">
        <tr style="height: 25px">
            <td colspan="4" align="center">
                <b>神州数码客服中心备件先行申请单-发货</b>
            </td>
        </tr>
        <tr style="height: 25px">
            <td style="width: 10%">
                <b>流水号:</b>
            </td>
            <td style="width: 40%">
                <asp:Label ID="runningNumberLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                <b>SP单号:</b>
            </td>
            <td style="width: 40%">
                <asp:Label ID="spcodeLabel" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" style="border-collapse: collapse; line-height: 25px">
        <tr>
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>用户信息</b>
            </td>
        </tr>
        <tr>
            <td style="width: 10%">
                公司/个人名称
            </td>
            <td align="left" style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;
                width: 35%">
                <asp:Label ID="companyLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 5%">
            </td>
            <td style="width: 10%">
                代理商/销售员：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;width: 35%">
                <asp:Label ID="agentLabel" runat="server" Text="" Width="100%"></asp:Label>
            </td>
            <td style="width: 5%">
            </td>
        </tr>
        <tr>
            <td>
                公司/个人地址
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="addressLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                发货日期
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:TextBox ID="sendEmailTextBox" runat="server"></asp:TextBox>
                <img src="image/Calendar_scheduleHS.png" id="imgCalender" />
                <cc1:CalendarExtender TargetControlID="sendEmailTextBox" PopupButtonID="imgCalender"
                    ID="CalendarExtender1" runat="server" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                联系人
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="contactLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                传真
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="faxLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                电话
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="phoneNumberLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                电子邮件
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="emailLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                代填人
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label2" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                代填人电话
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label3" runat="server"></asp:Label><asp:HiddenField ID="hfAgentEmail"
                    runat="server" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                收货信息
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;"
                colspan="4">
                <asp:Label ID="shxxLbl" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <table class="tableList" width="100%">
        <tr>
            <td colspan="13" style="border-bottom-style: solid; border-bottom-width: 1px; text-align: left;
                border-bottom-color: Gray">
                <b>申请单信息</b>
            </td>
        </tr>
        <tr style="padding-top: 5px">
            <th>
                <img src="image/operateicon/button_Select.gif" alt="" />
            </th>
            <th>
                产品型号
            </th>
            <th>
                产品序列号
            </th>
            <th>
                版本号
            </th>
            <th>
                申请日期
            </th>
            <th>
                产品购买日期
            </th>
            <th>
                审批日期
            </th>
            <th>
                保修性质
            </th>
            <th>
                申请类型
            </th>
            <th>
                状态
            </th>
            <th>
                审批理由
            </th>
            <th>
                需求说明
            </th>
            <th>
                审批人
            </th>
        </tr>
        <tr>
            <td>
                1
            </td>
            <td>
                <asp:Label ID="productTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="productSerivalNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="productVersionLabel" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                <asp:Label ID="applyTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="buyTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="dealWithTimeLabel" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                <asp:Label ID="repairTupeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="applyTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="statusLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="reasonLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="requireDisPLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="dealuserLabel" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="HiddenField" runat="server" />
    <cc1:ModalPopupExtender ID="Modalpopupextender2" TargetControlID="HiddenField" PopupControlID="Panel2"
        BackgroundCssClass="modalBackground" runat="server" Drag="true" PopupDragHandleControlID="Div2"
        CancelControlID="Button3">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="Panel2" CssClass="modalPopup" Style="display: none" Width="750px"
        BackImageUrl="~/image/mainSkinBG.gif" runat="server">
        <!-- Header -->
        <div class="box-header" id="Div2">
            <img src="image/stdBox_left_top.gif" alt="" />
            <h2>
                备件发货
            </h2>
        </div>
        <table width="100%" style="line-height: 25px">
            <tr>
                <td>
                    <b>产品型号:</b>
                </td>
                <td>
                    <asp:TextBox ID="spProductTypeTextBox" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td>
                    <b>产品序列号:</b>
                </td>
                <td>
                    <asp:TextBox ID="spSerialNumberTextBox" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td>
                    <b>产品版本号:</b>
                </td>
                <td>
                    <asp:TextBox ID="spVersionTextBox" runat="server" Width="50px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <b>备注:</b>
                </td>
                <td colspan="5">
                    <asp:TextBox ID="spRemarkTextBox" runat="server" TextMode="MultiLine" Height="50px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="6">
                    <table width="100%">
                        <tr>
                            <td>
                                <b>邮件通知：</b>
                            </td>
                            <td>
                                <asp:CheckBox ID="isSendEmailChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red"
                                    Checked="true" />
                            </td>
                            <td>
                                <b>短信通知申请人：</b>
                            </td>
                            <td>
                                <asp:CheckBox ID="isSendSMS2ApplierChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>接收邮箱：</b>
                            </td>
                            <td>
                                <asp:TextBox ID="emailTxtBox" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td>
                                <b>接收手机：</b>
                            </td>
                            <td>
                                <asp:TextBox ID="applierPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:TextBox ID="emailNoticeTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                                    Width="95%"></asp:TextBox>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="SMS2ApplierTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                                    Width="95%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>短信通知客户：</b>
                            </td>
                            <td>
                                <asp:CheckBox ID="isSendSMS2CustomerChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                            </td>
                            <td>
                                <b>短信通知销售人员：</b>
                            </td>
                            <td>
                                <asp:CheckBox ID="isSendSMS2SaleChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>接收手机：</b>
                            </td>
                            <td>
                                <asp:TextBox ID="customerPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td>
                                <b>接收手机：</b>
                            </td>
                            <td>
                                <asp:TextBox ID="salePhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:TextBox ID="SMSToCustomerTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                                    Width="95%"></asp:TextBox>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="SMSToSaleTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                                    Width="95%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" style="color: Red">
                                提示：多个接收手机号码之间用空格隔开,每条短信字数限制在70字以内
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr style="text-align: center">
                <td colspan="6">
                    <asp:Button ID="saveSendRecordButton" runat="server" Text="确定" OnClick="saveSendRecordButton_Click" />
                    <asp:Button ID="Button3" runat="server" Text="取消" />
                </td>
            </tr>
        </table>
        <div class="box-footer">
            <img alt="" src="image/stdBox_left_bottom.gif" />
            <p>
                &nbsp;</p>
        </div>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="reSendPanel" runat="server" Visible="false">
        <table class="tableList" width="100%" border="1" style="border-color: #888888">
            <tr style="height: 25px;">
                <td align="left" colspan="4" style="border-bottom-style: solid; border-bottom-width: 1px;">
                    <span style="color: Red"><b>上一次发货信息</b></span>
                </td>
            </tr>
            <tr style="height: 10px">
                <td colspan="4">
                </td>
            </tr>
            <tr style="height: 25px">
                <th>
                    产品型号
                </th>
                <th>
                    产品序列号
                </th>
                <th>
                    产品版本号
                </th>
                <th>
                    发货备注
                </th>
            </tr>
            <tr style="height: 25px">
                <td>
                    <asp:Label ID="lastproducttypeTextBox" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastproductserialnumberTextBox" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastproductVersionTextBox" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastsendRemarkTextBox" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
